<?php
/**
 * Yotaku Shop - yshop
 * @author Creatint<creatint@163.com>
 * @copyright www.yotaku.cn 2016
 */
namespace Admin\Controller;
use Think\Page;
class ShopController extends AdminController {
    public function config(){
        //获取所有配置项
        $Config = D("Config");
        $configs = $Config->getConfig();
        trace($configs,'configs');
        $this->assign('configs',$configs);

        trace(C("CONFIG_GROUP"),'config_group');

        //第一二组配置项
        $group = array(1,2);
        trace($group,'group');
        $this->assign('group',$group);


        $this->display("Config/group");
    }
}